﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;

namespace control.Dal
{
    class Connection
    {
        string chuoi_ket_noi = null;
        SqlConnection ketnoi = null;
        public SqlConnection connect()
        {
            chuoi_ket_noi = @"Server=.;Database=tour;User ID=sa;Password=sa";
            ketnoi = new SqlConnection(chuoi_ket_noi);
            return ketnoi;
        }
    }
}
